/** @type {import('vue-router').RouteConfig[]} */
export const unauthorizedRoutes = [
  {
    path: '',
    redirect: '/login'
  },
  {
    path: '/login',
    name: 'Login',
    component: () => import('@/views/LoginView.vue'),
    meta: {
      title: '登录'
    }
  },
  {
    path: '/reset-password',
    component: () => import('@/views/ResetPassword.vue'),
    meta: {
      title: '重置密码'
    }
  }
]

export const unauthorizedPaths = unauthorizedRoutes.map(route => route.path).filter(Boolean)
